package com.ruoyi.passenger.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.passenger.mapper.TbPassengerRefundFlowMapper;
import com.ruoyi.passenger.domain.TbPassengerRefundFlow;
import com.ruoyi.passenger.service.ITbPassengerRefundFlowService;

/**
 * 个人用户退款列-新增Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
@Service
public class TbPassengerRefundFlowServiceImpl implements ITbPassengerRefundFlowService 
{
    @Autowired
    private TbPassengerRefundFlowMapper tbPassengerRefundFlowMapper;

    /**
     * 查询个人用户退款列-新增
     * 
     * @param id 个人用户退款列-新增主键
     * @return 个人用户退款列-新增
     */
    @Override
    public TbPassengerRefundFlow selectTbPassengerRefundFlowById(Long id)
    {
        return tbPassengerRefundFlowMapper.selectTbPassengerRefundFlowById(id);
    }

    /**
     * 查询个人用户退款列-新增列表
     * 
     * @param tbPassengerRefundFlow 个人用户退款列-新增
     * @return 个人用户退款列-新增
     */
    @Override
    public List<TbPassengerRefundFlow> selectTbPassengerRefundFlowList(TbPassengerRefundFlow tbPassengerRefundFlow)
    {
        return tbPassengerRefundFlowMapper.selectTbPassengerRefundFlowList(tbPassengerRefundFlow);
    }

    /**
     * 新增个人用户退款列-新增
     * 
     * @param tbPassengerRefundFlow 个人用户退款列-新增
     * @return 结果
     */
    @Override
    public int insertTbPassengerRefundFlow(TbPassengerRefundFlow tbPassengerRefundFlow)
    {
        return tbPassengerRefundFlowMapper.insertTbPassengerRefundFlow(tbPassengerRefundFlow);
    }

    /**
     * 修改个人用户退款列-新增
     * 
     * @param tbPassengerRefundFlow 个人用户退款列-新增
     * @return 结果
     */
    @Override
    public int updateTbPassengerRefundFlow(TbPassengerRefundFlow tbPassengerRefundFlow)
    {
        return tbPassengerRefundFlowMapper.updateTbPassengerRefundFlow(tbPassengerRefundFlow);
    }

    /**
     * 批量删除个人用户退款列-新增
     * 
     * @param ids 需要删除的个人用户退款列-新增主键
     * @return 结果
     */
    @Override
    public int deleteTbPassengerRefundFlowByIds(Long[] ids)
    {
        return tbPassengerRefundFlowMapper.deleteTbPassengerRefundFlowByIds(ids);
    }

    /**
     * 删除个人用户退款列-新增信息
     * 
     * @param id 个人用户退款列-新增主键
     * @return 结果
     */
    @Override
    public int deleteTbPassengerRefundFlowById(Long id)
    {
        return tbPassengerRefundFlowMapper.deleteTbPassengerRefundFlowById(id);
    }
}
